- 
		Home
	
- 
MailPoet – Newsletters, Email Marketing, and Automation
- 
4.42.0
- 
Code
- 
Classes
-  Newsletter 
		
			
				
					
													
								
																			
											| Total Complexity | 56 | 
																			
											| Dependencies | 8 | 
																			
											| Dependents | 2 | 
																	
							 
													
								
																			
											| Total lines | 307 | 
																			
											| Lines of code | 252 | 
																			
											| Logical lines of code | 98 | 
																	
							 
													
								
																			
											| Comment lines | 5 | 
																			
											| Methods | 23 | 
																			
											| Properties | 1 | 
																	
							 
											 
				 
									
							 
		 
	 
	Methods 23
	
		
		
			| Method | Rating | Maintainability | Complexity | Lines of code | 
		
		
					
				| setStatus() | A | 49 | 9 | 33 | 
					
				| createOrUpdate() | A | 49 | 7 | 33 | 
					
				| save() | S | 56 | 6 | 18 | 
					
				| filterWithOptions() | S | 49 | 3 | 33 | 
					
				| withDeletedSegments() | S | 58 | 3 | 16 | 
					
				| getMeta() | S | 73 | 4 | 4 | 
					
				| getBodyString() | S | 66 | 3 | 9 | 
					
				| filterStatus() | S | 61 | 2 | 14 | 
					
				| asArray() | S | 68 | 2 | 7 | 
					
				| withSegments() | S | 69 | 2 | 7 | 
					
				| withSendingQueue() | S | 66 | 2 | 9 | 
					
				| findOneWithOptions() | S | 68 | 2 | 7 | 
					
				| __construct() | S | 70 | 1 | 6 | 
					
				| queue() | S | 78 | 1 | 3 | 
					
				| children() | S | 70 | 1 | 7 | 
					
				| parent() | S | 70 | 1 | 7 | 
					
				| segments() | S | 68 | 1 | 8 | 
					
				| segmentRelations() | S | 70 | 1 | 7 | 
					
				| trash() | S | 70 | 1 | 6 | 
					
				| restore() | S | 70 | 1 | 6 | 
					
				| delete() | S | 72 | 1 | 5 | 
					
				| getQueue() | S | 80 | 1 | 3 | 
					
				| getByHash() | S | 76 | 1 | 4 |